home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / Commander Sets / 4D Speech Pack / 4D Speech Pack.rsrc / TEXT_23158_†Say.txt < prev    next >
Encoding:
Text File  |  1994-09-14  |  1.3 KB  |  31 lines

  1. Say (line; voice type; rate; pitch)
  2.  
  3. line            string (255) is a string (max. length 255) which contains the
  4.                                    text you want to be spoken.
  5. voice type  integer       specifys what kind of voice you want to use:
  6.                   0    Normal
  7.                   1    Robot
  8. rate            integer      the rate in Words per Minute (WPM) which needs
  9.                                    to be applied to the voice. The normal rate of the
  10.                                    voice is not changed if you pass a zero value.
  11. pitch           integer      the pitch in Hertz (Hz) which needs to be applied
  12.                                     to the voice. The normal pitch of the voice is not
  13.                                     changed if you pass a zero value.
  14.  
  15. Emulates the Say external using the Speech Manager instead of MacinTalk.
  16.  
  17. This procedure replaces the Say external by Djundi Karjadi of Natural Intelligence Consulting.
  18. The voice type uses the default voice (equal to the ‚Äù*‚Äú wildcard) or the robot voice (equal to the ‚Äù#‚Äú wildcard).
  19. If an error occures a beep will be played instead. And also when Speech Pack is disabled after use of the SP SPEECH OFF command.
  20.  
  21. Examples:
  22.   Say ($message;0;0;0)
  23.   Say ("Testing Speech Manager";0;0;0)
  24.   Say ($message;0)
  25.   Say ($message;0;100;175)
  26.   Say ($message;1;100;175)
  27.   Say ($message)
  28.  
  29.  
  30.  
  31.